package com.primb.bench.project.search.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Chen on 2017/7/17.
 * 功能描述：
 */

public class ProcessInfoBean implements Parcelable {

    /**
     * departmentName : 项目执行部
     * personName : 朱迪
     * personId : U01312
     * personType : 1
     * state : 1
     * date : 2016-05-31 12:50
     * suggestion : 申请一项资金审批，预计利率6.7%。
     */

    private String departmentName;
    private String personName;
    private String personId;
    private String personType;
    private String stateDesc;
    private String state;
    private String date;
    private String suggestion;

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getPersonType() {
        return personType;
    }

    public void setPersonType(String personType) {
        this.personType = personType;
    }

    public String getStateDesc() {
        return stateDesc;
    }

    public void setStateDesc(String stateDesc) {
        this.stateDesc = stateDesc;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSuggestion() {
        return suggestion;
    }

    public void setSuggestion(String suggestion) {
        this.suggestion = suggestion;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.departmentName);
        dest.writeString(this.personName);
        dest.writeString(this.personId);
        dest.writeString(this.personType);
        dest.writeString(this.stateDesc);
        dest.writeString(this.state);
        dest.writeString(this.date);
        dest.writeString(this.suggestion);
    }

    public ProcessInfoBean() {
    }

    protected ProcessInfoBean(Parcel in) {
        this.departmentName = in.readString();
        this.personName = in.readString();
        this.personId = in.readString();
        this.personType = in.readString();
        this.stateDesc = in.readString();
        this.state = in.readString();
        this.date = in.readString();
        this.suggestion = in.readString();
    }

    public static final Parcelable.Creator<ProcessInfoBean> CREATOR = new Parcelable.Creator<ProcessInfoBean>() {
        @Override
        public ProcessInfoBean createFromParcel(Parcel source) {
            return new ProcessInfoBean(source);
        }

        @Override
        public ProcessInfoBean[] newArray(int size) {
            return new ProcessInfoBean[size];
        }
    };
}
